<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title><?php echo $this->title .' - ' . SITE_NAME; ?></title>
		<link rel="stylesheet" type="text/css" href="<?php echo SITE_ADDRESS . '/css/shared/reset.css' ?>" media="screen" />
		<link rel="stylesheet" type="text/css" href="<?php echo SITE_ADDRESS . '/css/incorporated/style.css' ?>" media="screen" />
		<?php $this->css() ?>
	</head>
	<body>
		<div id="header_wrapper">
			<div id="header">
				<div id="logo">
					<h1>
						<a href="<?php echo SITE_ADDRESS ?>">
							<img src="<?php echo SITE_ADDRESS ?>/images/shared/roguemvc-logo.png" alt="<?php echo SITE_NAME ?>" />
						</a>
					</h1>
				</div>
				<?php include 'partials/controller_menu.partial.php'; ?>
			</div>
		</div>
		<div id="subheader_wrapper">
			<div id="subheader">
				<?php if( $this->user->id ): ?>
					<?php include 'partials/user_info.partial.php'; ?>
				<?php else: ?>
					<?php include 'partials/user_login.partial.php'; ?>
				<?php endif; ?>
			</div>
		</div>
		<div id="page_wrapper">
			<div id="page">
				<?php echo $this->Content ?>
			</div>
		</div>
		<div id="footer_wrapper">
			<div id="footer">
				<p>&copy; 2008. All Rights Reserved.</p>
			</div>
		</div>
	</body>
</html>
